package org.iks.user.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.iks.user.web.entity.FriendEntity;
import org.iks.user.web.vo.UserFriendRespVo;

import java.util.List;

/**
 * Author kzou
 * Date 2024/2/13
 * Description:
 */
public interface FriendService extends IService<FriendEntity> {

    List<UserFriendRespVo> queryFriends(String userAccount);

    /**
     * 添加好友
     *
     * @param userAccount 好友账号
     */
    void addFriend(String userAccount);

    int deleteFriend(String creatorAccount, String account);
}
